package com.hyt.it.ogt.pj.model.vo;

import java.awt.image.BufferedImage;
import java.io.File;
import java.math.BigDecimal;
import java.util.List;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class PaperItemVo {

    private String id;

    @ApiModelProperty(value = "题目id")
    private String topicId;

    @ApiModelProperty(value = "试卷id")
    private String paperId;

    @ApiModelProperty(value = "父题id")
    private String parentId;

    @ApiModelProperty(value = "父ids")
    private String parentCodes;

    @ApiModelProperty(value = "题目名称")
    private String itemName;

    @ApiModelProperty(value = "试题编号")
    private String itemCode;

    @ApiModelProperty(value = "是否复合题")
    private Boolean isComposite;

    @ApiModelProperty(value = "题目类型:1:topic,2:item,3:option")
    private String itemType;

    @ApiModelProperty(value = "试题观点:1:客观,0:主观")
    private Boolean itemViewPoint;

    @ApiModelProperty(value = "题目级别")
    private Integer itemLevel;

    @ApiModelProperty(value = "题干")
    private String itemStem;

    @ApiModelProperty(value = "答案")
    private String answer;

    @ApiModelProperty(value = "分数")
    private BigDecimal score;

    @ApiModelProperty(value = "学生所得分数（这个也是老师打分的分数）")
    private BigDecimal obtainScore;

    @ApiModelProperty(value = "试题解析")
    private String analysis;

    @ApiModelProperty(value = "排序")
    private Integer orderNum;

    @ApiModelProperty(value = "得分id")
    private String itemScoreId;

    @ApiModelProperty(value = "子小题")
    private List<PaperItemVo> children;

    @ApiModelProperty(value = "项目id")
    private String projectId;

    @ApiModelProperty(value = "科目id")
    private String subjectId;


    @ApiModelProperty(value = "准考证号")
    private String admissionNum;

    @ApiModelProperty(value = "真实得分")
    private BigDecimal realScore;

    @ApiModelProperty(value = "考生答案")
    private String studentAnswer;

    @ApiModelProperty(value = "答案图片文件")
    private BufferedImage answerImg;

    @ApiModelProperty(value = "答案图片文件地址")
    private File answerImgFile;

    @ApiModelProperty(value = "专家评语")
    private String remark;

    @ApiModelProperty(value = "应评人数")
    private Integer totalStu;

    @ApiModelProperty(value = "已评人数")
    private Integer finishStu;

    @ApiModelProperty(value = "是否有下一个")
    private boolean isNext;

    @ApiModelProperty(value = "下一个itemid")
    private String nextItemId;

    @ApiModelProperty(value = "是否有上一个")
    private boolean isPrevious;

    @ApiModelProperty(value = "上一个itemid")
    private String previousItemId;

    @ApiModelProperty(value = "第几大题（1,2,3。。。）")
    private Integer bigItem;

    @ApiModelProperty(value = "第几小题（1,2,3。。。）")
    private Integer itemIndex;

    @ApiModelProperty(value = "小题数量")
    private Integer itemTotal;

    @ApiModelProperty(value = "允许回评（0：关闭， 1：开启）")
    private String rejudge;

    @ApiModelProperty(value = "表示是第几个主观题")
    private int subjectiveSort;

    @ApiModelProperty(value = "大题的id")
    private String bigItemId;

    /** 资源相关内容 */
    @ApiModelProperty(value = "小题资源")
    private List<ResourceAttr> stemAttrs;

    @ApiModelProperty(value = "标答资源")
    private List<ResourceAttr> answerAttrs;

    @ApiModelProperty(value = "答案解析资源")
    private List<ResourceAttr> descriptionAttrs;
}
